package cn.ydxiaoshuai.tools.factory;


import com.baidu.aip.face.AipFace;

/**
 * 加载模块对象
 * @author 小帅丶
 *
 */
public class BDFactory {
    private static AipMultiple aipMultiple;
    /** 人脸识别&图像处理 */
    private static String appid_face = "";
    private static String apikey_face = "";
    private static String secretkey_face = "";

    public static AipMultiple getAipMultiple(){
        if(aipMultiple==null){
            synchronized (AipFace.class) {
                if(aipMultiple==null){
                    aipMultiple = new AipMultiple(appid_face, apikey_face, secretkey_face);
                }
            }
        }
        return aipMultiple;
    }

}
